home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / CDTV / cdtvtools-11 / includes / screensaver.h < prev   
Encoding:
C/C++ Source or Header  |  1991-06-24  |  1.3 KB  |  38 lines

  1. /*  :ts=8 bk=0
  2.  *
  3.  * screensaver.h:    Public definitions for the screen saver.
  4.  *
  5.  * Leo L. Schwab                    9101.26
  6.  ***************************************************************************
  7.  *    This information is CONFIDENTIAL and PROPRIETARY           *
  8.  *    Copyright 1991, Silent Software Incorporated.               *
  9.  *    All Rights Reserved.                           *
  10.  ***************************************************************************
  11.  */
  12.  
  13. /*
  14.  * The name of the screen saver's port.  FindPort() this port and post
  15.  * messages to it.
  16.  */
  17. #define    SAVEPORTNAME    "CDTV Screen Saver"
  18.  
  19. /*
  20.  * The commands you can send to the screen saver.  These commands are
  21.  * placed in a standard Message structure in the mn_Length field.  The
  22.  * result is returned in the same place.
  23.  */
  24. #define    SCRSAV_DIE    0    /*  Kill off screen saver task.        */
  25. #define    SCRSAV_SAVE    1    /*  Start screen saver now.        */
  26. #define    SCRSAV_UNSAVE    2    /*  Turn off screen saver now.        */
  27. #define    SCRSAV_FAKEIT    3    /*  Don't actually blank the screen.    */
  28. #define    SCRSAV_UNFAKEIT    4    /*  Behave normally.            */
  29. #define    SCRSAV_ISACTIVE    5    /*  Is the saver active?        */
  30.  
  31. /*
  32.  * If this bit is set in mn_Length, then the lower 15 bits of mn_Length
  33.  * are interpreted as the new time delay until the screen saver kicks in,
  34.  * expressed in seconds.  If this bit is clear, then mn_Length is
  35.  * interpreted as above.
  36.  */
  37. #define    SCRSAV_TIMECMD    0x8000
  38.